Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix recursively calling of menuDidChange: #48

Merged
merged 1 commit into from
Jun 9, 2015

Conversation

tyeen
Copy link
Contributor

@tyeen tyeen commented Jun 9, 2015

This is just a workaround. It may be removed in the final release of OS X 10.11 and Xcode 7.
In 10.11 DP, the NSMenuDidChangeItemNotification fires whenever a new menu item is "adding",
of course including the item we're trying to add now.
I agree it's a bug because "DidChange" should be notified AFTER the changes.
Similar bug is reported in Xcode plug-in "FuzzyAutoComplete"'s issue, which is considered as
a bug introduced by 10.10.2-dp(which is fixed in 10.10.2 final release):

@tyeen
Copy link
Contributor Author

tyeen commented Jun 9, 2015

I think the issue #46 is relative to this.

@CraigSiemens
Copy link

👍 I just built your branch and it's working great!

limejelly pushed a commit that referenced this pull request Jun 9, 2015
Fix recursively calling of menuDidChange:
@limejelly limejelly merged commit 1cbd247 into limejelly:master Jun 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants